package com.liangxy.zhyl.service;

import com.liangxy.zhyl.base.PageResponse;
import com.liangxy.zhyl.dto.NursingProjectPlanDto;
import com.liangxy.zhyl.vo.NursingPlanVo;
import com.liangxy.zhyl.vo.NursingProjectVo;

import java.util.List;

public interface NursingPlanService {

    /**
     * 查询所有的护理计划
     * @return
     */
    List<NursingProjectVo> selectAll();

    /**
     * 分页查询项目计划
     * @param planName
     * @param status
     * @param pageSize
     * @param pageNum
     * @return
     */
    PageResponse<NursingPlanVo> pageNursingPlan(String planName, Integer status, Integer pageSize, Integer pageNum);

    /**
     * 根据id查询护理计划及其包含的项目
     * @param id
     * @return
     */
    NursingPlanVo selectNursingPlan(Long id);
    /**
     * 添加护理计划
     * @param nursingProjectPlanDto
     */
    void addNursingPlan(NursingProjectPlanDto nursingProjectPlanDto);

    /**
     *  禁用启用护理计划
     * @param id
     * @param status
     */
    void updateNursingPlanStatus(Long id, Integer status);
    /**
     * 修改护理计划
     * @param id
     * @param nursingProjectPlanDto
     */
    void updateNursingPlan(Long id, NursingProjectPlanDto nursingProjectPlanDto);

    /**
     * 删除护理计划
     * @param id
     */
    void deleteNursingPlan(Long id);
}
